<template>
  <!-- header -->
  <a-layout class="layout">
    <a-layout-header>
      <HeaderLayout />
    </a-layout-header>
    <a-layout-content style="padding: 0 20px">
      <ContentLayout />
    </a-layout-content>
    <a-layout-footer style="text-align: center">
      kele-interview ©2024 Created by kele
    </a-layout-footer>
  </a-layout>
</template>

<script lang="ts" setup>
import HeaderLayout from "@/layouts/HeaderLayout.vue";
import ContentLayout from "@/layouts/ContentLayout.vue";
import { onMounted } from "vue";

/**
 * 全局初始化函数，有全局单次调用的代码，都可以写到这里
 */
const doInit = () => {
  console.log("kele题库欢迎您");
};

onMounted(() => {
  doInit();
});
</script>
<style></style>
